.login {
  width: 100%;
  height: 100%;
  background-color: #2f4050;
  position: fixed;
}

.login .login-item {
  position: relative;
  margin: 180px auto;
  max-width: 380px;
  padding: 100px 40px 40px;
  border-radius: 4px;
  background-color: #fff;
}

.login .login-item img {
  width: 140px;
  height: 140px;
  position: absolute;
  top: 5%;
  left: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 1px 5px #ccc;
  border: 10px solid #fff;
}

.button-group {
  margin-left: 80px;
}

/* 弹出框 */
.alert-danger {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  display: none;

}

.alert-success {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  display: none;

}

.alert-success p {
  padding: 0 30px;
}